
/* 针对订单卡片内的所有按钮 */
.myOrdersPage :global(.adm-button) {
  border-color: transparent !important;
  color: #8D6E63 !important; 
  background-color: #F5F0EB !important; 
  &:hover {
    background-color: #E8DCD2 !important;
  }
}
/* 订单页按钮（利用主题主色，无需 !important） */
.orderCancelBtn,
.orderInvoiceBtn {
    color: #8D6E63 !important;
  background-color: #F5F0EB !important;
}

.orderDetailBtn,
.orderEvaluateBtn {
  color: #FFFFFF !important; 
  background-color: #8D6E63 !important; 
  &:hover {
    background-color: #795548 !important; 
  }
}
/* Tabs组件样式穿透 - 仅作用于当前页面 */
.myOrdersPage :global(.adm-tabs) {
  --active-line-color: rgb(93, 64, 55) !important;
}

.myOrdersPage :global(.adm-tabs-tab-list) {
  background-color: #fff !important;
  height: 60px !important;
  line-height: 60px !important;
  border-bottom: 1px solid #E8DCD2 !important;
}

.myOrdersPage :global(.adm-tabs-tab-active) {
  color: rgb(93, 64, 55) !important;
  font-weight: bold !important;
}

.myOrdersPage :global(.adm-button) {
  border-color: transparent !important;
}

/* 全局页面样式 */
.myOrdersPage {
  font-family: 'PingFang SC', system-ui, sans-serif;
  background-color: #F5F0EB; /* 浅米色背景 */
  color: #8D6E63; /* 深棕色文字主色 */
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 55px;
}

/* 顶部导航栏 */
.ordersHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #fff;
  border-bottom: 1px solid #E8DCD2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 16px;
}

.orderBackBtn {
  cursor: pointer;
  padding: 4px;
}

.orderHeaderTitle {
  font-size: 18px;
  font-weight: 600;
  color: #8D6E63;
  margin: 0;
}

/* 订单列表区域 */
.ordersContent {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.ordersContent::-webkit-scrollbar {
  display: none;
}

.ordersList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 单个订单卡片 */
.orderCard {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(141, 110, 99, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.orderCard:hover {
  box-shadow: 0 4px 10px rgba(141, 110, 99, 0.08);
}

/* 订单头部（订单号+时间） */
.orderHeader {
  padding: 12px 16px;
  border-bottom: 1px solid #F5F0EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.orderNo {
  font-size: 12px;
  color: #A1887F;
}

.orderTime {
  font-size: 12px;
  color: #A1887F;
}

/* 订单内容（图片+服务信息） */
.orderContent {
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.orderImg {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #F5F0EB;
}

.orderImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orderInfo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 2px 0;
}

.orderServiceName {
  font-size: 14px;
  font-weight: 600;
  color: #8D6E63;
  line-height: 1.4;
  margin: 0;
}

.orderInfoRow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #A1887F;
  line-height: 1.3;
}

.orderInfoText {
  padding-left: 10px;
}

.orderInfoIcon {
  font-size: 14px;
  color: #8D6E63;
}

/* 订单底部（价格+操作按钮） */
.orderFooter {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FCFAF8;
}

.orderPrice {
  display: flex;
  align-items: center;
  gap: 4px;
}

.orderPriceLabel {
  font-size: 12px;
  color: #A1887F;
}

.orderPriceValue {
  font-size: 16px;
  font-weight: 700;
  color: #8D6E63;
}

.orderActions {
  display: flex;
  gap: 8px;
}

.orderActionBtn {
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.orderCancelBtn {
  background-color: #F5F0EB;
  color: #8D6E63;
}

.orderCancelBtn:hover {
  background-color: #E8DCD2;
}

.orderDetailBtn, .orderEvaluateBtn, .orderRebookBtn {
  background-color: #8D6E63;
  color: #fff;
}

.orderDetailBtn:hover, .orderEvaluateBtn:hover, .orderRebookBtn:hover {
  background-color: #795548;
}

.orderInvoiceBtn {
  background-color: #F5F0EB;
  color: #8D6E63;
}

.orderInvoiceBtn:hover {
  background-color: #E8DCD2;
}

/* 空订单状态 */
.orderEmptyOrders {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 280px;
  gap: 16px;
}

.orderEmptyIcon {
  color: #D7CCC8;
}

.orderEmptyText {
  font-size: 14px;
  color: #A1887F;
  text-align: center;
  margin: 0;
}

.orderEmptyBtn {
  background-color: #8D6E63;
  color: #fff;
  padding: 8px 24px;
  border-radius: 20px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.orderEmptyBtn:hover {
  background-color: #795548;
}

/* 加载更多按钮 */
.orderLoadMoreContainer {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}

.orderLoadMoreBtn {
  background-color: #F5F0EB;
  color: #8D6E63;
  padding: 8px 24px;
  border-radius: 20px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.orderLoadMoreBtn:hover {
  background-color: #E8DCD2;
}

.orderLoadMoreBtn:disabled {
  background-color: #F9F2EB;
  color: #D7CCC8;
  cursor: not-allowed;
}

/* DemoBlock样式 */
.orderDemoBlock {
  margin-bottom: 16px;
}

.orderDemoBlockTitle {
  margin-bottom: 8px;
  color: #8D6E63;
  font-weight: 500;
}

.orderDemoBlockContent {
  background-color: #fff;
  border-radius: 8px;
}

/* 响应式适配（小屏手机） */
@media (max-width: 320px) {
  .orderActions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .orderActionBtn {
    padding: 4px 12px;
    font-size: 11px;
  }

  .orderContent {
    padding: 12px;
    gap: 10px;
  }

  .orderImg {
    width: 56px;
    height: 56px;
  }
}
    